GBML manual / Constants

ALIGN_RIGHT

Aligns draw_text’s (x, y) to the right of the text, for text_align.

Syntax

ALIGN_RIGHT: constant

Description

Names right alignment, for text_align - (x, y) marks the right edge of the text that follows.

Example

text_align(ALIGN_RIGHT);

Right-aligns every following draw_text call - the usual choice for a HUD line fixed to the screen's right edge.

See also: text_align